-
-
Notifications
You must be signed in to change notification settings - Fork 557
feat: Add automated release pipeline for NuGet and GitHub #702
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
✅ Update: Release Pipeline is Working!Great news! After analyzing the existing test workflows and understanding the build requirements, the release pipeline is now successfully working. Test Results
Key Changes Made
Pipeline Features
Ready for ProductionThe pipeline is now ready to use. Once
Looking forward to your review! The release process for Harmony can now be fully automated. 🚀 |
Automated version management - that's an interesting question. I rather want to define the version in the dev branch somehow... |
2788a10 to
985250e
Compare
|
i think its okey |
|
Can it be that the zip files/packages already exist after building? I think I don’t zip the nuget files but all the artifacts instead. Check against a manual build to see if there is a difference, or I can do that later when I have time. Also, remove comments mentioning me to keep it professional. |
|
Sorry for getting back to you so late but I had to deal with some illness. I think it would be nice to combine your work with this way to trigger it: https://chatgpt.com/share/68a88bfa-156c-8009-bd0b-ef1bf03898c7 What do you think? |
|
@pardeike Thank you for sharing this approach! I really like the tag-driven Key points I understood:
I'll update the PR to implement this approach:
This is indeed much cleaner and safer than branch-based releases. I'll get |
|
@pardeike Thank you for the feedback! I've updated the PR with a tag-driven |
58f2045 to
3d144f4
Compare
|
@pardeike tested the workflow on my fork and it works: everything passed except nuget publish (no api key on my fork obviously). |
- Triggers on version tags (v*) - Validates version against Directory.Build.props - Builds and tests on all supported frameworks - Creates GitHub releases with NuGet packages - Publishes to NuGet.org (requires NUGET_API_KEY secret)
eb369db to
0805277
Compare
This pipeline will: